package com.ning.ems.service;

import com.ning.ems.dto.AddressUpdateDto;
import com.ning.ems.entity.Address;
import com.ning.ems.vo.AddressVo;

import java.util.List;

/**
 * @author Ning 242741154@qq.com
 * @date 2020/4/12 1:34
 */
public interface AddressService {
    List<AddressVo> list(Integer owner);

    AddressVo get(Integer id);

    AddressVo add(Address record);

    boolean delete(Integer id);

    boolean update(AddressUpdateDto info);

    String desc(Integer id);
}
